import express from 'express'
const router = express.Router();
import TeamController from './../../controller/team/TeamController.js'

router.post('/add',TeamController.insert);
router.post('/listpage',TeamController.listpageTeam);
router.post('/del',TeamController.delTeam);
router.post('/edit',TeamController.updateTeam);
router.post('/ispublish',TeamController.findPublishList);
router.post('/get',TeamController.getTeamInfoById);

module.exports = router;